Build Instructions with GNU Build Systems

您所在的位置:网站首页 autodetect disabled Build Instructions with GNU Build Systems

Build Instructions with GNU Build Systems

2024-07-14 13:11| 来源: 网络整理| 查看: 265

Note

Regarding ffmpeg libraries dependencies:

The pkg-config tool is used to detect the correct compilation settings and library dependency for the ffmpeg packages. The pkg-config is not installed by default on Mac, as the output above shows, hence we use the alternate pkgconfig.py script.

You need to have Python installed to run this script of course, and the configure script detects its availability automatically.

If Python is not available, you will need to supply the correct CFLAGS and LDFLAGS manually prior to running configure so that it is able to detect ffmpeg libraries.

For example, if ffmpeg was built with x264 and mp3 encoder support, you will need to pass additional -lx264 -lmp3lame``flags when linking libavformat. With manual checking in the configure script, the ``AC_CHECK_LIB(avformat) would not be able to detect that it needs to add -lx264 -lmp3lame as the dependency, hence you need to put this in the LDFLAGS prior to running configure.



【本文地址】


今日新闻


推荐新闻


CopyRight 2018-2019 办公设备维修网 版权所有 豫ICP备15022753号-3